package com.maven.mybatis.service;


import com.maven.mybatis.Mapper.UserMapper;
import com.maven.mybatis.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {
    @Autowired
    UserMapper userMapper;

    public List<UserInfo> queryAllUser() {
        return userMapper.queryUserList();
    }

}
